package cn.fay.chapter02;

public class DataOnly {
	int i;
	double d;
	boolean b;
	public void printMember()
	{
		System.out.println("I have three memberparam,they are "+i+","+d+","+b);
	}
	
	public static void main(String[] args) {
		DataOnly dataOnly=new DataOnly();
		dataOnly.printMember();
		dataOnly.i=5;
		dataOnly.d=78.996;
		dataOnly.b=true;
		dataOnly.printMember();
	}
}
